package org.dromara.genealogy.domain.vo;

import jakarta.validation.constraints.NotNull;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.genealogy.domain.GeDirectory;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 目录管理视图对象 ge_directory
 *
 * @author qianjm
 * @date 2025-08-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GeDirectory.class)
public class GeDirectoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 目录code
     */
    @ExcelProperty(value = "目录code")
    private String code;

    /**
     * 目录名称
     */
    @ExcelProperty(value = "目录名称")
    private String name;

    private Long geId;

    /**
     * 排序值
     */
    private int sorted;


    /**
     * 父级id
     */
    private Long parentId;
}
